package com.ygkj.common.distributionlock.lock;

/**
 * distribution lock interface
 */
public interface Lock {
    /**
     * get lock
     */
    void getLock();

    /**
     * release lock
     */
    boolean unLock();
}
